package com.zgw.his.emr.model;

import java.util.ArrayList;
import java.util.List;

public class RootRecord extends MedicalRecord {
	private String rootTemlage; // 记录根模板编号
	private String version;		// 记录版本号
	private String identifier;  // 记录标识

	public List<PageRecord> getPageRecords() {
		List<PageRecord> pages = new ArrayList<PageRecord>();
		for (MedicalRecord r : getChilds()) {
			pages.add((PageRecord) r);
		}
		return pages;
	}

	public String getRootTemlage() {
		return rootTemlage;
	}

	public void setRootTemlage(String rootTemlage) {
		this.rootTemlage = rootTemlage;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

}
